package com.pinyou.dashboard.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value="tbl_employee")
public class TblEmployee {
  @TableId(value="id" , type = IdType.AUTO)
  private long id;
  @TableField(value = "last_name")
  private String lastName;
  private String email;
  @TableField(exist = false)
  private Double salary ;
  private String gender;
  private long age;
}
